#  author:张靖昆 date:2020/3/5 name:2_字符串索引 IDE:PyCharm

# list01=[1,2,3]
# list02=list01[::-1]
# print(list02)

str01='python'
# print(str01[2])
# print(str01[1:4:2])
print(str01)